/**
 * 
 */
package org.lionsteins.eddie.domain;

import java.io.Serializable;
import java.sql.Date;


/**
 * @author seankang
 *
 */

public class Alert implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6820122846125439961L;

	  /*
	   * @gwt.typeArgs <java.lang.String>
	   */
  private String location;
  /*
   * @gwt.typeArgs <java.lang.Double>
   */
  private Double lat;
  /*
   * @gwt.typeArgs <java.lang.Double>
   */
  private Double lon;
  
  
  private Date date;
  
  private String sender;
  
  private String incidentType;

  private String imagePath;
  
public String getLocation() {
	return location;
}

public void setLocation(String location) {
	this.location = location;
}

public Double getLat() {
	return lat;
}

public void setLat(Double lat) {
	this.lat = lat;
}

public void setLatString(String latStr){
	try {
		
		this.lat = new Double(latStr);
	} catch (Exception e) {
		System.out.println("latStr: "+latStr);
		e.printStackTrace();
	}
}

public Double getLon() {
	return lon;
}

public void setLonString( String lonStr) {
	try {
	this.lon = new Double(lonStr);
	} catch (Exception e) {
		System.out.println("lonStr: "+lonStr);
		e.printStackTrace();
	}
}

public void setLon(Double lon) {
	this.lon = lon;
}



private Integer id;

public Integer getId() {
	return id;
}

public void setId(Integer id) {
	this.id = id;
}

public Date getDate() {
	return date;
}

public void setDate(Date date) {
	this.date = date;
}

public String getSender() {
	return sender;
}

public void setSender(String sender) {
	this.sender = sender;
}

public String getIncidentType() {
	return incidentType;
}

public void setIncidentType(String incidentType) {
	this.incidentType = incidentType;
}

public String getImagePath() {
	return imagePath;
}

public void setImagePath(String imagePath) {
	this.imagePath = imagePath;
}

}
